import HTTP from '@/request/axios'

let baseApi = '/springBoot';
// baseApi = '';
const fileServiceName = `${baseApi}/fileService`;

/**
 * 文件服务
 */
const FileServiceApi = {
  // 查询
  SELECT_IO(params = {}) {
    return HTTP.get( `${fileServiceName}/io/page`, params);
  },
  // 查询
  DELETE_IO(params = {}) {
    return HTTP.get( `${fileServiceName}/io/delete/${params.id}`);
  },
  
  //
  REVOKE_DELETE_IO(params = {}) {
    return HTTP.get( `${fileServiceName}/io/revokeDelete/${params.id}`, params);
  }
};

const LogServiceApi = {

};

export default {
  ...FileServiceApi,
  ...LogServiceApi
};

